package com.zhongkun.datahome.service.constant;

import lombok.Getter;
import org.apache.commons.lang3.StringUtils;

/**
 * @Author: lifengsheng
 * @Date: 2025/4/17 13:48
 * @Desc
 */
@Getter
public enum MaterialTypeEnum {
    COMMON_SKU("common_sku", "普通商品");

    private String type;
    private String desc;

    MaterialTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public boolean is(String type) {
        return StringUtils.equals(this.type, type);
    }
}
